Integrand size = 21, antiderivative size = 353 \[ \int \frac {a+b \arctan (c x)}{x \left (d+e x^2\right )} \, dx=\frac {a \log (x)}{d}+\frac {(a+b \arctan (c x)) \log \left (\frac {2}{1-i c x}\right )}{d}-\frac {(a+b \arctan (c x)) \log \left (\frac {2 c \left (\sqrt {-d}-\sqrt {e} x\right )}{\left (c \sqrt {-d}-i \sqrt {e}\right ) (1-i c x)}\right )}{2 d}-\frac {(a+b \arctan (c x)) \log \left (\frac {2 c \left (\sqrt {-d}+\sqrt {e} x\right )}{\left (c \sqrt {-d}+i \sqrt {e}\right ) (1-i c x)}\right )}{2 d}+\frac {i b \operatorname {PolyLog}(2,-i c x)}{2 d}-\frac {i b \operatorname {PolyLog}(2,i c x)}{2 d}-\frac {i b \operatorname {PolyLog}\left (2,1-\frac {2}{1-i c x}\right )}{2 d}+\frac {i b \operatorname {PolyLog}\left (2,1-\frac {2 c \left (\sqrt {-d}-\sqrt {e} x\right )}{\left (c \sqrt {-d}-i \sqrt {e}\right ) (1-i c x)}\right )}{4 d}+\frac {i b \operatorname {PolyLog}\left (2,1-\frac {2 c \left (\sqrt {-d}+\sqrt {e} x\right )}{\left (c \sqrt {-d}+i \sqrt {e}\right ) (1-i c x)}\right )}{4 d} \]
[Out]
Time = 0.28 (sec) , antiderivative size = 353, normalized size of antiderivative = 1.00, number of steps used = 15, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.381, Rules used = {5048, 4940, 2438, 5100, 4966, 2449, 2352, 2497} \[ \int \frac {a+b \arctan (c x)}{x \left (d+e x^2\right )} \, dx=-\frac {(a+b \arctan (c x)) \log \left (\frac {2 c \left (\sqrt {-d}-\sqrt {e} x\right )}{(1-i c x) \left (c \sqrt {-d}-i \sqrt {e}\right )}\right )}{2 d}-\frac {(a+b \arctan (c x)) \log \left (\frac {2 c \left (\sqrt {-d}+\sqrt {e} x\right )}{(1-i c x) \left (c \sqrt {-d}+i \sqrt {e}\right )}\right )}{2 d}+\frac {\log \left (\frac {2}{1-i c x}\right ) (a+b \arctan (c x))}{d}+\frac {a \log (x)}{d}+\frac {i b \operatorname {PolyLog}\left (2,1-\frac {2 c \left (\sqrt {-d}-\sqrt {e} x\right )}{\left (c \sqrt {-d}-i \sqrt {e}\right ) (1-i c x)}\right )}{4 d}+\frac {i b \operatorname {PolyLog}\left (2,1-\frac {2 c \left (\sqrt {e} x+\sqrt {-d}\right )}{\left (\sqrt {-d} c+i \sqrt {e}\right ) (1-i c x)}\right )}{4 d}+\frac {i b \operatorname {PolyLog}(2,-i c x)}{2 d}-\frac {i b \operatorname {PolyLog}(2,i c x)}{2 d}-\frac {i b \operatorname {PolyLog}\left (2,1-\frac {2}{1-i c x}\right )}{2 d} \]
[In]
[Out]
Rule 2352
Rule 2438
Rule 2449
Rule 2497
Rule 4940
Rule 4966
Rule 5048
Rule 5100
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {a+b \arctan (c x)}{d x}-\frac {e x (a+b \arctan (c x))}{d \left (d+e x^2\right )}\right ) \, dx \\ & = \frac {\int \frac {a+b \arctan (c x)}{x} \, dx}{d}-\frac {e \int \frac {x (a+b \arctan (c x))}{d+e x^2} \, dx}{d} \\ & = \frac {a \log (x)}{d}+\frac {(i b) \int \frac {\log (1-i c x)}{x} \, dx}{2 d}-\frac {(i b) \int \frac {\log (1+i c x)}{x} \, dx}{2 d}-\frac {e \int \left (-\frac {a+b \arctan (c x)}{2 \sqrt {e} \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {a+b \arctan (c x)}{2 \sqrt {e} \left (\sqrt {-d}+\sqrt {e} x\right )}\right ) \, dx}{d} \\ & = \frac {a \log (x)}{d}+\frac {i b \operatorname {PolyLog}(2,-i c x)}{2 d}-\frac {i b \operatorname {PolyLog}(2,i c x)}{2 d}+\frac {\sqrt {e} \int \frac {a+b \arctan (c x)}{\sqrt {-d}-\sqrt {e} x} \, dx}{2 d}-\frac {\sqrt {e} \int \frac {a+b \arctan (c x)}{\sqrt {-d}+\sqrt {e} x} \, dx}{2 d} \\ & = \frac {a \log (x)}{d}+\frac {(a+b \arctan (c x)) \log \left (\frac {2}{1-i c x}\right )}{d}-\frac {(a+b \arctan (c x)) \log \left (\frac {2 c \left (\sqrt {-d}-\sqrt {e} x\right )}{\left (c \sqrt {-d}-i \sqrt {e}\right ) (1-i c x)}\right )}{2 d}-\frac {(a+b \arctan (c x)) \log \left (\frac {2 c \left (\sqrt {-d}+\sqrt {e} x\right )}{\left (c \sqrt {-d}+i \sqrt {e}\right ) (1-i c x)}\right )}{2 d}+\frac {i b \operatorname {PolyLog}(2,-i c x)}{2 d}-\frac {i b \operatorname {PolyLog}(2,i c x)}{2 d}-2 \frac {(b c) \int \frac {\log \left (\frac {2}{1-i c x}\right )}{1+c^2 x^2} \, dx}{2 d}+\frac {(b c) \int \frac {\log \left (\frac {2 c \left (\sqrt {-d}-\sqrt {e} x\right )}{\left (c \sqrt {-d}-i \sqrt {e}\right ) (1-i c x)}\right )}{1+c^2 x^2} \, dx}{2 d}+\frac {(b c) \int \frac {\log \left (\frac {2 c \left (\sqrt {-d}+\sqrt {e} x\right )}{\left (c \sqrt {-d}+i \sqrt {e}\right ) (1-i c x)}\right )}{1+c^2 x^2} \, dx}{2 d} \\ & = \frac {a \log (x)}{d}+\frac {(a+b \arctan (c x)) \log \left (\frac {2}{1-i c x}\right )}{d}-\frac {(a+b \arctan (c x)) \log \left (\frac {2 c \left (\sqrt {-d}-\sqrt {e} x\right )}{\left (c \sqrt {-d}-i \sqrt {e}\right ) (1-i c x)}\right )}{2 d}-\frac {(a+b \arctan (c x)) \log \left (\frac {2 c \left (\sqrt {-d}+\sqrt {e} x\right )}{\left (c \sqrt {-d}+i \sqrt {e}\right ) (1-i c x)}\right )}{2 d}+\frac {i b \operatorname {PolyLog}(2,-i c x)}{2 d}-\frac {i b \operatorname {PolyLog}(2,i c x)}{2 d}+\frac {i b \operatorname {PolyLog}\left (2,1-\frac {2 c \left (\sqrt {-d}-\sqrt {e} x\right )}{\left (c \sqrt {-d}-i \sqrt {e}\right ) (1-i c x)}\right )}{4 d}+\frac {i b \operatorname {PolyLog}\left (2,1-\frac {2 c \left (\sqrt {-d}+\sqrt {e} x\right )}{\left (c \sqrt {-d}+i \sqrt {e}\right ) (1-i c x)}\right )}{4 d}-2 \frac {(i b) \text {Subst}\left (\int \frac {\log (2 x)}{1-2 x} \, dx,x,\frac {1}{1-i c x}\right )}{2 d} \\ & = \frac {a \log (x)}{d}+\frac {(a+b \arctan (c x)) \log \left (\frac {2}{1-i c x}\right )}{d}-\frac {(a+b \arctan (c x)) \log \left (\frac {2 c \left (\sqrt {-d}-\sqrt {e} x\right )}{\left (c \sqrt {-d}-i \sqrt {e}\right ) (1-i c x)}\right )}{2 d}-\frac {(a+b \arctan (c x)) \log \left (\frac {2 c \left (\sqrt {-d}+\sqrt {e} x\right )}{\left (c \sqrt {-d}+i \sqrt {e}\right ) (1-i c x)}\right )}{2 d}+\frac {i b \operatorname {PolyLog}(2,-i c x)}{2 d}-\frac {i b \operatorname {PolyLog}(2,i c x)}{2 d}-\frac {i b \operatorname {PolyLog}\left (2,1-\frac {2}{1-i c x}\right )}{2 d}+\frac {i b \operatorname {PolyLog}\left (2,1-\frac {2 c \left (\sqrt {-d}-\sqrt {e} x\right )}{\left (c \sqrt {-d}-i \sqrt {e}\right ) (1-i c x)}\right )}{4 d}+\frac {i b \operatorname {PolyLog}\left (2,1-\frac {2 c \left (\sqrt {-d}+\sqrt {e} x\right )}{\left (c \sqrt {-d}+i \sqrt {e}\right ) (1-i c x)}\right )}{4 d} \\ \end{align*}
Time = 0.15 (sec) , antiderivative size = 484, normalized size of antiderivative = 1.37 \[ \int \frac {a+b \arctan (c x)}{x \left (d+e x^2\right )} \, dx=\frac {a \log (x)}{d}+\frac {i b \log (1+i c x) \log \left (\frac {c \left (\sqrt {-d}-\sqrt {e} x\right )}{c \sqrt {-d}-i \sqrt {e}}\right )}{4 d}-\frac {i b \log (1-i c x) \log \left (\frac {c \left (\sqrt {-d}-\sqrt {e} x\right )}{c \sqrt {-d}+i \sqrt {e}}\right )}{4 d}-\frac {i b \log (1-i c x) \log \left (\frac {c \left (\sqrt {-d}+\sqrt {e} x\right )}{c \sqrt {-d}-i \sqrt {e}}\right )}{4 d}+\frac {i b \log (1+i c x) \log \left (\frac {c \left (\sqrt {-d}+\sqrt {e} x\right )}{c \sqrt {-d}+i \sqrt {e}}\right )}{4 d}-\frac {a \log \left (d+e x^2\right )}{2 d}+\frac {i b \operatorname {PolyLog}(2,-i c x)}{2 d}-\frac {i b \operatorname {PolyLog}(2,i c x)}{2 d}-\frac {i b \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} (1-i c x)}{i c \sqrt {-d}-\sqrt {e}}\right )}{4 d}-\frac {i b \operatorname {PolyLog}\left (2,\frac {\sqrt {e} (1-i c x)}{i c \sqrt {-d}+\sqrt {e}}\right )}{4 d}+\frac {i b \operatorname {PolyLog}\left (2,-\frac {\sqrt {e} (1+i c x)}{i c \sqrt {-d}-\sqrt {e}}\right )}{4 d}+\frac {i b \operatorname {PolyLog}\left (2,\frac {\sqrt {e} (1+i c x)}{i c \sqrt {-d}+\sqrt {e}}\right )}{4 d} \]
[In]
[Out]
Time = 0.30 (sec) , antiderivative size = 435, normalized size of antiderivative = 1.23
method | result | size |
risch | \(-\frac {i b \operatorname {dilog}\left (-i c x +1\right )}{2 d}-\frac {i b \ln \left (-i c x +1\right ) \ln \left (\frac {c \sqrt {e d}-\left (-i c x +1\right ) e +e}{c \sqrt {e d}+e}\right )}{4 d}-\frac {i b \ln \left (-i c x +1\right ) \ln \left (\frac {c \sqrt {e d}+\left (-i c x +1\right ) e -e}{c \sqrt {e d}-e}\right )}{4 d}-\frac {i b \operatorname {dilog}\left (\frac {c \sqrt {e d}-\left (-i c x +1\right ) e +e}{c \sqrt {e d}+e}\right )}{4 d}-\frac {i b \operatorname {dilog}\left (\frac {c \sqrt {e d}+\left (-i c x +1\right ) e -e}{c \sqrt {e d}-e}\right )}{4 d}+\frac {a \ln \left (-i c x \right )}{d}-\frac {a \ln \left (\left (-i c x +1\right )^{2} e -c^{2} d -2 \left (-i c x +1\right ) e +e \right )}{2 d}+\frac {i b \operatorname {dilog}\left (i c x +1\right )}{2 d}+\frac {i b \ln \left (i c x +1\right ) \ln \left (\frac {c \sqrt {e d}-\left (i c x +1\right ) e +e}{c \sqrt {e d}+e}\right )}{4 d}+\frac {i b \ln \left (i c x +1\right ) \ln \left (\frac {c \sqrt {e d}+\left (i c x +1\right ) e -e}{c \sqrt {e d}-e}\right )}{4 d}+\frac {i b \operatorname {dilog}\left (\frac {c \sqrt {e d}-\left (i c x +1\right ) e +e}{c \sqrt {e d}+e}\right )}{4 d}+\frac {i b \operatorname {dilog}\left (\frac {c \sqrt {e d}+\left (i c x +1\right ) e -e}{c \sqrt {e d}-e}\right )}{4 d}\) | \(435\) |
derivativedivides | \(-\frac {a \ln \left (e \,c^{2} x^{2}+c^{2} d \right )}{2 d}+\frac {a \ln \left (c x \right )}{d}+b \,c^{2} \left (-\frac {\arctan \left (c x \right ) \ln \left (e \,c^{2} x^{2}+c^{2} d \right )}{2 d \,c^{2}}+\frac {\arctan \left (c x \right ) \ln \left (c x \right )}{d \,c^{2}}-\frac {-\frac {i \ln \left (c x \right ) \ln \left (i c x +1\right )}{2}+\frac {i \ln \left (c x \right ) \ln \left (-i c x +1\right )}{2}-\frac {i \operatorname {dilog}\left (i c x +1\right )}{2}+\frac {i \operatorname {dilog}\left (-i c x +1\right )}{2}}{d \,c^{2}}+\frac {-\frac {i \left (\ln \left (c x -i\right ) \ln \left (e \,c^{2} x^{2}+c^{2} d \right )-2 e \left (\frac {\ln \left (c x -i\right ) \left (\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )\right )}{2 e}+\frac {\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )}{2 e}\right )\right )}{2}+\frac {i \left (\ln \left (c x +i\right ) \ln \left (e \,c^{2} x^{2}+c^{2} d \right )-2 e \left (\frac {\ln \left (c x +i\right ) \left (\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )\right )}{2 e}+\frac {\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )}{2 e}\right )\right )}{2}}{2 d \,c^{2}}\right )\) | \(706\) |
default | \(-\frac {a \ln \left (e \,c^{2} x^{2}+c^{2} d \right )}{2 d}+\frac {a \ln \left (c x \right )}{d}+b \,c^{2} \left (-\frac {\arctan \left (c x \right ) \ln \left (e \,c^{2} x^{2}+c^{2} d \right )}{2 d \,c^{2}}+\frac {\arctan \left (c x \right ) \ln \left (c x \right )}{d \,c^{2}}-\frac {-\frac {i \ln \left (c x \right ) \ln \left (i c x +1\right )}{2}+\frac {i \ln \left (c x \right ) \ln \left (-i c x +1\right )}{2}-\frac {i \operatorname {dilog}\left (i c x +1\right )}{2}+\frac {i \operatorname {dilog}\left (-i c x +1\right )}{2}}{d \,c^{2}}+\frac {-\frac {i \left (\ln \left (c x -i\right ) \ln \left (e \,c^{2} x^{2}+c^{2} d \right )-2 e \left (\frac {\ln \left (c x -i\right ) \left (\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )\right )}{2 e}+\frac {\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )}{2 e}\right )\right )}{2}+\frac {i \left (\ln \left (c x +i\right ) \ln \left (e \,c^{2} x^{2}+c^{2} d \right )-2 e \left (\frac {\ln \left (c x +i\right ) \left (\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )\right )}{2 e}+\frac {\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )}{2 e}\right )\right )}{2}}{2 d \,c^{2}}\right )\) | \(706\) |
parts | \(\frac {a \ln \left (x \right )}{d}-\frac {a \ln \left (e \,x^{2}+d \right )}{2 d}+b \left (\frac {\arctan \left (c x \right ) \ln \left (c x \right )}{d}-\frac {\arctan \left (c x \right ) \ln \left (e \,c^{2} x^{2}+c^{2} d \right )}{2 d}-\frac {c^{2} \left (-\frac {i \ln \left (c x \right ) \ln \left (i c x +1\right )}{c^{2} d}+\frac {i \ln \left (c x \right ) \ln \left (-i c x +1\right )}{c^{2} d}-\frac {i \operatorname {dilog}\left (i c x +1\right )}{c^{2} d}+\frac {i \operatorname {dilog}\left (-i c x +1\right )}{c^{2} d}-\frac {-\frac {i \left (\ln \left (c x -i\right ) \ln \left (e \,c^{2} x^{2}+c^{2} d \right )-2 e \left (\frac {\ln \left (c x -i\right ) \left (\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )\right )}{2 e}+\frac {\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x +i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}+2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )}{2 e}\right )\right )}{2}+\frac {i \left (\ln \left (c x +i\right ) \ln \left (e \,c^{2} x^{2}+c^{2} d \right )-2 e \left (\frac {\ln \left (c x +i\right ) \left (\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\ln \left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )\right )}{2 e}+\frac {\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =1\right )}\right )+\operatorname {dilog}\left (\frac {\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )-c x -i}{\operatorname {RootOf}\left (e \,\textit {\_Z}^{2}-2 i e \textit {\_Z} +c^{2} d -e , \operatorname {index} =2\right )}\right )}{2 e}\right )\right )}{2}}{d \,c^{2}}\right )}{2}\right )\) | \(709\) |
[In]
[Out]
\[ \int \frac {a+b \arctan (c x)}{x \left (d+e x^2\right )} \, dx=\int { \frac {b \arctan \left (c x\right ) + a}{{\left (e x^{2} + d\right )} x} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \arctan (c x)}{x \left (d+e x^2\right )} \, dx=\int \frac {a + b \operatorname {atan}{\left (c x \right )}}{x \left (d + e x^{2}\right )}\, dx \]
[In]
[Out]
\[ \int \frac {a+b \arctan (c x)}{x \left (d+e x^2\right )} \, dx=\int { \frac {b \arctan \left (c x\right ) + a}{{\left (e x^{2} + d\right )} x} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \arctan (c x)}{x \left (d+e x^2\right )} \, dx=\int { \frac {b \arctan \left (c x\right ) + a}{{\left (e x^{2} + d\right )} x} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \arctan (c x)}{x \left (d+e x^2\right )} \, dx=\int \frac {a+b\,\mathrm {atan}\left (c\,x\right )}{x\,\left (e\,x^2+d\right )} \,d x \]
[In]
[Out]